import request from '@/utils/request'
/*医护评分*/

// 医护评分信息查询
export function searchList(query) {
  return request({
    url: '/credit/selectMedic',
    method: 'get',
    params: query
  })
}

// 新增用户
export function addUser(data) {
  return request({
    url: '/credit/saveMedic',
    method: 'post',
    data: data
  })
}
// 删除用户
export function delUser(query) {
  return request({
    url: '/credit/deleteMedic',
    method: 'get',
    params: query
  })
}

// 修改用户
export function updateUser(data) {
  return request({
    url: '/credit/saveMedic',
    method: 'post',
    data: data
  })
}
// 查询患者
export function selectPatient(query) {
  return request({
    url: '/credit/selectPatient',//https://ndwdt.com/prod-api/credit/selectPatient
    method: 'get',
    params: query
  })
}

